package vitamin.demo.projectManagement;

import org.springframework.stereotype.Repository;
import vitamin.demo.pojo.Project;
import vitamin.demo.pojo.Project_New_Requirement;

import java.util.List;

@Repository
public interface ProjectManagementMapper {

    // 写入新项目
    int writeNewProject(Project project);

    // 更新项目信息
    int updateProject(Project project);

    // 写入新需求
    int writeNewRequirement(Project_New_Requirement project_new_requirement);

    // 获取现有项目列表
    List<Project> getProjectList();

    // 获取项目需求列表
    List<Project_New_Requirement> getRequirementList(String project_id);
}
